#!/bin/bash
cd /docker/makeblog/
mkdir /docker/makeblog/config/
rm -rf /docker/makeblog/melog
git clone http://gitee.com/uidoer/melog.git
cp -r -f /docker/makeblog/melog/config/* /docker/makeblog/config
cp -r -f /docker/makeblog/my-config/* /docker/makeblog/config
cp -r -f /docker/makeblog/config/* /docker/makeblog/melog/config
cd /docker/makeblog/melog/
docker build -t $1:$2 .
